package com.jyh.config.redis;

import org.apache.commons.pool2.impl.GenericObjectPoolConfig;

import redis.clients.jedis.JedisPool;
import redis.clients.jedis.Protocol;

public class JyhJedisPool extends JedisPool {

	public JyhJedisPool(GenericObjectPoolConfig poolConfig, String host, int port, String password) {
		this(poolConfig, host, port, Protocol.DEFAULT_TIMEOUT, password, Protocol.DEFAULT_DATABASE, null);
	}

	public JyhJedisPool(GenericObjectPoolConfig poolConfig, String host, int port, int timeout, String password,
			int database, String clientName) {
		super(poolConfig, host, port, timeout, password, database, clientName);
	}

}
